package org.ssq.mybatisPlusMonitor.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.ssq.mybatisPlusMonitor.entity.SlowSqlLog;

@Mapper
public interface SlowSqlLogMapper {

    void createSqlLog(@Param("tableName")String tablename);
    void addSqlLog(SlowSqlLog sql);

    int isTableExist(@Param("tableSchema")String tableSchema,@Param("tableName")String tableName);
}
